<html>﻿
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="shortcut icon" href="../favicon.ico" tppabs="http://www.aifei-fashion.com/favicon.ico" type="image/x-icon"/>
<link rel="apple-touch-icon" href="../apple-touch-icon.png" tppabs="http://www.aifei-fashion.com/apple-touch-icon.png"/>
<link href="css/style.css" tppabs="http://www.aifei-fashion.com/wap/css/style.css" rel="stylesheet" media="all" type="text/css" />
<meta name="keywords" content="钥匙包、胸卡套、证件套、卡套、卡包、银行卡包、护照保护套、纺织针套、PVC吊牌套纽扣袋" />
<meta name="description" content="上海建交工程机械有限公司是无纺布袋收纳袋收纳盒围裙拉绳袋等集缝纫家居产品专业设计生产加工销售一条龙的公司" />
<title>Aifei半永久化妆培训</title>
<meta name=”apple-mobile-web-app-capable” content=”yes” />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script type="text/javascript"> 
window.onload=function(){ 
if(document.documentElement.scrollHeight <= document.documentElement.clientHeight) { 
bodyTag = document.getElementsByTagName('body')[0]; 
bodyTag.style.height = document.documentElement.clientWidth / screen.width * screen.height + 'px'; 
} 
setTimeout(function() { 
window.scrollTo(0, 1) 
}, 0); 
}; 
</script> 
<script src="js/bottom_menu.js" tppabs="http://www.aifei-fashion.com/wap/js/bottom_menu.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "../../hm.baidu.com/hm.js-c3fc096fa00a7b0aeb1eefe5788c37dc"/*tpa=http://hm.baidu.com/hm.js?c3fc096fa00a7b0aeb1eefe5788c37dc*/;
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body >


<!-- Copyright  2005. Spidersoft Ltd -->
<style>
A.applink:hover {border: 2px dotted #DCE6F4;padding:2px;background-color:#ffff00;color:green;text-decoration:none}
A.applink       {border: 2px dotted #DCE6F4;padding:2px;color:#2F5BFF;background:transparent;text-decoration:none}
A.info          {color:#2F5BFF;background:transparent;text-decoration:none}
A.info:hover    {color:green;background:transparent;text-decoration:underline}
</style>
<!-- /Copyright  2005. Spidersoft Ltd -->
<div class="in_top1">
具体路线
<div class="l_1"><a href="javascript:history.go(-1);" onFocus="this.blur()"><img src="images/l1.png" tppabs="http://www.aifei-fashion.com/wap/images/l1.png" alt="" width="23" height="20" border="0" /></a></div>
<div class="r_1"><a href="about/about.asp.html" tppabs="http://www.aifei-fashion.com/wap/about/about.asp.html" onFocus="this.blur()"><img src="images/r1.png" tppabs="http://www.aifei-fashion.com/wap/images/r1.png" alt="" width="23" height="20" border="0" /></a></div>
</div>
<div class="ab_zw">
<div class="ab_zw1">
<script src="js/jquery-1.4.2.min.js" tppabs="http://www.aifei-fashion.com/wap/js/jquery-1.4.2.min.js" type="text/javascript"></script> 
<script src="../../api.map.baidu.com/api-v=1.2" tppabs="http://api.map.baidu.com/api?v=1.2" type="text/javascript"></script> 
<div id="container" >
  <p>地址：中国•北京培训(总部)：北京市东城区广渠门外名敦道4号楼1403-2309</p>
  <br>
</div> 
<script type="text/javascript"> 
$(function (){
    var mapKit = function (id) {
        var map = new BMap.Map(id);
        var driving, pts;
        var locationCb, drivingRouteCb;
        var lng, lat;
        var fP, tP, polyline;
        var notice = '您已关闭了定位服务，请打开后重试';
        var timerId = undefined;
 
        var log = function (m) {
            console && console.log && console.log(new Date + ' ' + m);
        };
        var _call = function (cb, result) {
            if (cb && typeof cb === 'function') {
                cb(result);
                cb = undefined;
            }
        };
        var getLocationSucc = function (position) {
            lng = position.coords.longitude;
            lat = position.coords.latitude;
            log(lng + ' ' + lat);
            if (timerId) {
                _call(locationCb, true);
            }
        };
        var getLocationErr = function (e) {
            log(e.message);
            alert(notice);
            _call(locationCb, false);
        };
        var drivingRouteSucc = function () {
            pts = driving.getResults().getPlan(0).getRoute(0).getPath();
            polyline = new BMap.Polyline(pts);
            map.addOverlay(polyline);
            setMark(fP);
            setMark(tP);
            map.setViewport([fP.point, tP.point]);
            _call(drivingRouteCb);
        };
        var showPointSucc = function () {
        };
        var setMark = function (p) {
            map.addOverlay(new BMap.Marker(p.point));
            map.addOverlay(new BMap.Label(p.description, {
                position: p.point
            }));
        };
        var isPoint = function (point) {
            return (point && point.point && point.description);
        };
        var pointMaker = function (lng, lat, desc) {
            return {
                point: new BMap.Point(lng, lat),
                lng: lng,
                lat: lat,
                description: desc
            };
        };
        return {
            getMyPoint: function () {
                return pointMaker(lng, lat, '我的位置');
            },
            pointMaker: pointMaker,
            getLocation: function (cb) {
                locationCb = cb;
                if (!timerId) {
                    if (window.navigator.geolocation) {
                        log('authorizing');
                        timerId = setTimeout(function() {
                            console.log && console.log(new Date + ' timeout');
                            timerId = undefined;
                            _call(locationCb, true);
                        }, 10000);
                        window.navigator.geolocation.getCurrentPosition(getLocationSucc, getLocationErr, {
                            enableHighAccuracy: true
                        });
                    } else {
                        throw {
                            name: 'mapKitError',
                            message: 'browser is not support geolocation'
                        };
                    }
                }
            },
            showPoint: function (point) {
                if (isPoint(point)) {
                    map.clearOverlays();
                    driving = new BMap.DrivingRoute(map);
                    driving.setSearchCompleteCallback(function () {
                        setMark(point);
                        map.setViewport([point]);
                    });
                    driving.search(point.point, point.point);
                } 
            },
            showDrivingRoute: function (fpoint, tpoint, cb) {
                drivingRouteCb = cb;
                if (isPoint(fpoint)) {
                    fP = fpoint;
                    if (isPoint(tpoint)) {
                        tP = tpoint;
                        map.clearOverlays();
                        driving = new BMap.DrivingRoute(map);
                        driving.setSearchCompleteCallback(drivingRouteSucc);
                        driving.search(fP.point, tP.point);
                    } else {
                        log('tpoint is invalid');
                    }
                } else {
                    log('fpoint is invalid');
                }
            },
        };
    };
 
    var fixMap = function () {
        $('#container').width(window.innerWidth - 20);
        $('#container').height(window.innerHeight);
    };
    var mk = mapKit('container');
    mk.getLocation(function (succ) {
        var hospitalPoint = mk.pointMaker('120.618458','27.461862','目的地');
        if (succ) {
            mk.showDrivingRoute(
                mk.getMyPoint(), 
                hospitalPoint
            );
        } else {
            mk.showPoint(hospitalPoint);
        }
    });
    fixMap();
    window.onresize = fixMap;
});
</script> 
</div>
</div>
<div class="in_ttbb"></div>
<div class="in_ttb" id="wgcss_dingwei">
<div class="in_ttb_bj">
<ul>
<li><a href="index.html" tppabs="http://www.aifei-fashion.com/wap/index.html"><img src="images/t1.png" tppabs="http://www.aifei-fashion.com/wap/images/t1.png" alt="" width="37" height="31" border="0" /></a></li>
<li><a href=""><img src="images/t2.png" tppabs="http://www.aifei-fashion.com/wap/images/t2.png" alt="" width="37" height="31" border="0" /></a></li>
<li><a href=""><img src="images/t21.png" tppabs="http://www.aifei-fashion.com/wap/images/t21.png" alt="" width="37" height="31" border="0" /></a></li>
<li><a href="map.asp.html" tppabs="http://www.aifei-fashion.com/wap/map.asp.html"><img src="images/t3.png" tppabs="http://www.aifei-fashion.com/wap/images/t3.png" alt="" width="37" height="31" border="0" /></a></li>
</ul>
</div>
</div>
</body>
</html>
